package id.co.rho.scoring.cid.client.command.impl;

import id.co.rho.scoring.cid.client.command.CommandAction;
import id.co.rho.scoring.cid.client.model.CriteriaTree;

import java.util.List;

public class ScoringModelCommand implements CommandAction<ScoringModelResult> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
	private String criteriaName;
	private String criteriaNumber;
	private Double criteriaRank;
	private Double criteriaWeight;
	private String criteriaType;
	private Long modelId;
	private Long modelId2;
	private Long parent;
	private List<CriteriaTree> treeList;
	public static enum CommandType {
		ADD, SEARCH, EDIT, DELETE, SEARCH_ALL, COMPARE, SAVE_ALL
	}

	private CommandType commandType;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCriteriaName() {
		return criteriaName;
	}

	public void setCriteriaName(String criteriaName) {
		this.criteriaName = criteriaName;
	}

	public String getCriteriaNumber() {
		return criteriaNumber;
	}

	public void setCriteriaNumber(String criteriaNumber) {
		this.criteriaNumber = criteriaNumber;
	}

	public Double getCriteriaRank() {
		return criteriaRank;
	}

	public void setCriteriaRank(Double criteriaRank) {
		this.criteriaRank = criteriaRank;
	}

	public Double getCriteriaWeight() {
		return criteriaWeight;
	}

	public void setCriteriaWeight(Double criteriaWeight) {
		this.criteriaWeight = criteriaWeight;
	}

	public String getCriteriaType() {
		return criteriaType;
	}

	public void setCriteriaType(String criteriaType) {
		this.criteriaType = criteriaType;
	}

	public Long getParent() {
		return parent;
	}

	public void setParent(Long parent) {
		this.parent = parent;
	}

	public CommandType getCommandType() {
		return commandType;
	}

	public void setCommandType(CommandType commandType) {
		this.commandType = commandType;
	}

	public Long getModelId() {
		return modelId;
	}

	public void setModelId(Long modelId) {
		this.modelId = modelId;
	}

	public Long getModelId2() {
		return modelId2;
	}

	public void setModelId2(Long modelId2) {
		this.modelId2 = modelId2;
	}

	public List<CriteriaTree> getTreeList() {
		return treeList;
	}

	public void setTreeList(List<CriteriaTree> treeList) {
		this.treeList = treeList;
	}


	

}
